from django.db import models

# Create your models here.
class News(models.Model):
    title = models.CharField(max_length=80)
    pubdate = models.CharField(max_length=15)
    url = models.CharField(max_length=70,unique=True)
    college = models.CharField(max_length=12)
    class Meta:
        verbose_name = '学院新闻'
        verbose_name_plural = verbose_name


